import request from '@/base/request'

export default async function checkRole(role:string){
    return (await request.get(`/user/userRole/checkRole?role=${role}`)).data
}